package com.fanshilz.flower2025.apps.admin.aliyun.req;

import com.fanshilz.flower2025.business.flower.attachment.entity.Attachment;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@AutoMapper(target = Attachment.class, reverseConvertGenerate = false)
public class AttachmentUploadReq {

    @NotBlank
    private String filePath;

    @NotNull
    private Integer objType;

    private Integer objId;

    private String objIdStr;

    /**
     * 文件后缀
     */
    private String fileSuffix;

    private Integer fileSize;

    private String originalFileName;

    private String fileType;

}
